package com.ruoyi.project.mahjong.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 开桌情况对象 t_desk_ing
 *
 * @author ruoyi
 * @date 2023-07-26
 */
@Data
public class DeskIng extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String status;

    /** $column.columnComment */
    private String bak3;

    /** $column.columnComment */
    private String bak2;

    /** $column.columnComment */
    private String bak1;

    /** 来源 */
    @Excel(name = "来源")
    private String source;

    /** 开具时间 */
    @Excel(name = "开具时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结局时间 */
    @Excel(name = "结局时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishTime;

    /** 预定成局时间 */
    @Excel(name = "预定成局时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 大小 */
    @Excel(name = "大小")
    private String size;

    /** 模式 */
    @Excel(name = "模式")
    private String mode;

    /** 积分模式 */
    @Excel(name = "积分模式")
    private String integral;

    /** 桌号id */
    @Excel(name = "桌号id")
    private Long deskId;

    private String count;

    private Long userId;

    /** 主键 */
    private Long id;
    //店铺id
    private Long shopId;
    //取消时间
    private String canelTime;

    private String userName;

    private String orderSn;

    private Integer deskNumber;

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setBak3(String bak3)
    {
        this.bak3 = bak3;
    }

    public String getBak3()
    {
        return bak3;
    }
    public void setBak2(String bak2)
    {
        this.bak2 = bak2;
    }

    public String getBak2()
    {
        return bak2;
    }
    public void setBak1(String bak1)
    {
        this.bak1 = bak1;
    }

    public String getBak1()
    {
        return bak1;
    }
    public void setSource(String source)
    {
        this.source = source;
    }

    public String getSource()
    {
        return source;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setFinishTime(Date finishTime)
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime()
    {
        return finishTime;
    }
    public void setTime(Date time)
    {
        this.time = time;
    }

    public Date getTime()
    {
        return time;
    }
    public void setSize(String size)
    {
        this.size = size;
    }

    public String getSize()
    {
        return size;
    }
    public void setMode(String mode)
    {
        this.mode = mode;
    }

    public String getMode()
    {
        return mode;
    }
    public void setIntegral(String integral)
    {
        this.integral = integral;
    }

    public String getIntegral()
    {
        return integral;
    }
    public void setDeskId(Long deskId)
    {
        this.deskId = deskId;
    }

    public Long getDeskId()
    {
        return deskId;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("status", getStatus())
            .append("bak3", getBak3())
            .append("bak2", getBak2())
            .append("bak1", getBak1())
            .append("source", getSource())
            .append("startTime", getStartTime())
            .append("finishTime", getFinishTime())
            .append("time", getTime())
            .append("size", getSize())
            .append("mode", getMode())
            .append("integral", getIntegral())
            .append("remark", getRemark())
            .append("deskId", getDeskId())
            .append("id", getId())
            .toString();
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
